package com.admin.service;

import com.admin.common.biz.BizBaseResult;
import com.admin.service.vo.SysPerson;
import org.springframework.stereotype.Service;

import java.util.List;

public interface SysPersonService {

    SysPerson createSysPerson(SysPerson sysPerson);

    int saveSysPerson(SysPerson sysPerson);

    int edtionSysPerson(SysPerson sysPerson);

    int remvoSysPerson(SysPerson sysPerson);

    List<SysPerson> queryAll();

    List<SysPerson> queryByPersonInfo(String idCard, String phone, String email);

    SysPerson queryById(String id);

    BizBaseResult canRomevo(SysPerson sysPerson);

}
